home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: nanninr@ix.netcom.com(Robert A. Nannini )
- Newsgroups: comp.lang.c++
- Subject: VC++ .dll creation
- Date: 3 Jan 1996 16:46:23 GMT
- Organization: Netcom
- Message-ID: <4cebsv$7h9@ixnews3.ix.netcom.com>
- NNTP-Posting-Host: ix-stl4-13.ix.netcom.com
- X-NETCOM-Date: Wed Jan 03 8:46:23 AM PST 1996
-
- IÆm new to VC++ (v1.5 using Win 3.1), but have experience with Borland
- C++ (v4, also Win 3.1).
-
- I have a project set up to create a .dll, which contains 2 .cpp, 2 .h,
- and a default .def file. The header files each contain a single class
- with very few data members and function declarations (IÆm just trying
- to learn the VC++ way of doing things).
-
- Each .cpp compiles cleanly, but upon linking, I get the following
- linker error:
-
- ----------
- c:\msvc\mfc\lib\lafxdwd.lib(map_ss.cpp) : fatal error L1101: invalid
- object module
- Object file offset: dffe4 Record type: 9c
- LINK returned error code 2.
- ----------
-
- Link.exe is found in c:\msvc\bin, which is in my PATH. It is the only
- version of link.exe found on my PC. The version is 5.60.220, which has
- a datetime stamp of 9/16/94, 2:00:00 p.m. If MS uses the same
- timestamp construction for this that they do for DOS, it would seem
- that the linker is for VC++ 2.0. Is this true? If so, will it work
- with VC++ 1.5? If this is the problem (or even if itÆs something else
- that IÆm doing wrong) please reply to this posting or email me
- personally with a response. I appreciate your help.
-
- bob
- nanninr@ix.netcom.com
-
-